cmake_minimum_required(VERSION 3.5)
project(server_linux_test)

SET(CMAKE_C_FLAGS_DEBUG "-D_DEBUG")

add_executable(server_linux_test server.cpp)

target_compile_options(server_linux_test
    PRIVATE -std=c++14 -pedantic -Wextra)

target_compile_definitions(server_linux_test
    PRIVATE ASIO_STANDALONE)

target_include_directories(server_linux_test
    PRIVATE
        ${CMAKE_SOURCE_DIR}/include
        ${CMAKE_SOURCE_DIR}/libs/asio/include)


target_link_libraries(server_linux_test
    PRIVATE  rpsasrv pthread)
